import BasicLayout from '@/layouts/BasicLayout/index.vue'
import { RouteRecordRaw } from 'vue-router'

// 首页路由
export const home: Array<RouteRecordRaw> = [
  {
    path: '/',
    redirect: '/home',
    component: BasicLayout,
    meta: {
      title: '首页',
      isShow: true,
      icon: 'AppstoreOutlined'
    },
    children: [
      {
        path: '/home',
        name: 'Home',
        component: () => import('@/views/home/index.vue'),
        meta: {
          title: '首页',
          icon: 'AppstoreOutlined',
          isShow: true
        }
      }
    ]
  }
]
